import Vue from 'vue'
import Router from 'vue-router'
import Main from './../pages/Main.vue'
import Login from './../pages/Login.vue'
import Home from './../pages/Home.vue'
import HomePage from './../pages/home/index'
//用户
import UserList from './../pages/user/list.vue'
import UserAdd from './../pages/user/add.vue'
import UserAdd2 from './../pages/user/add_2.vue'
import UserAdd3 from './../pages/user/add_3.vue'
import UserEdit from './../pages/user/edit'
import UserSetUp from './../pages/user/setup'
import UserOrgList from './../pages/user/org_list'
import UserOrgAdd from './../pages/user/org_add'
import UserOneList from './../pages/user/one_card'
import UserOneAdd from './../pages/user/one_card_add'
import RankList from './../pages/user/rank'
import PositionList from './../pages/user/position'
//用户侧——页面
import UserClientDetail from './../pages/user/user_client/detail'
//用户拓展信息字段管理
import UserExpandField from './../pages/user_expand/list'
import UserExpandFieldAdd from './../pages/user_expand/add'
//证件管理
import CertificateList from './../pages/certificate/list'
import CertificateAdd from './../pages/certificate/add'
import CertificateEdit from './../pages/certificate/edit'
//新闻
import NewsList from './../pages/news/list.vue'
import NewsEdit from './../pages/news/edit.vue'
import NewsAdd from './../pages/news/add.vue'
import NewsDetail from './../pages/news/detail.vue'
//社区管理
import CommunityList from './../pages/community/list'
import CommunityEdit from './../pages/community/edit.vue'
import CommunityAdd from './../pages/community/add.vue'
import CommunityDetail from './../pages/community/detail.vue'
//通知公告
import NoticeList from './../pages/notice/list'
import NoticeAdd from './../pages/notice/add'
import NoticeEdit from './../pages/notice/edit'
import NoticeDetail from './../pages/notice/detail'
//财务法规
import FinanceList from './../pages/finance/list'
import FinanceAdd from './../pages/finance/add'
import FinanceEdit from './../pages/finance/edit'
import FinanceDetail from './../pages/finance/detail'
//组织结构管理
import OrganizeList from './../pages/organize/list'
import OrganizeDetail from './../pages/organize/detail'
import OrganizeAdd from './../pages/organize/add'
import OrganizeEdit from './../pages/organize/edit'
import CarOrgList from './../pages/organize/car_org'
import configTspc from './../pages/organize/config_tspc'
import CheckerList from './../pages/organize/checker_list'
import CheckerAdd from './../pages/organize/checker_add'
//请假
import HolidayApply from './../pages/holiday/apply'
import HolidayList from './../pages/holiday/list'
import HolidayMyList from './../pages/holiday/mylist'
import HolidayTypeAdd from './../pages/holiday/add_type'
import HolidayTypeList from './../pages/holiday/type_list'
import HolidayCheckerList from './../pages/holiday/cheker_list'
import HolidayCancleList from './../pages/holiday/cancle'
//请假规则
import HolidayRule from './../pages/holiday/rule'
import HolidayRuleAdd from './../pages/holiday/rule_add'
import HolidayRuleEdit from './../pages/holiday/rule_edit'
//续假管理
import HolidayContinueApply from './../pages/holiday_continue/apply'
//值班管理
import ZhibanList from './../pages/zhiban/list'
import ZhibanAdd from './../pages/zhiban/add'
import ZhibanTeamAdd from './../pages/zbTeam/add'
import ZhibanTeamEdit from './../pages/zbTeam/edit'
import ZhibanTeamList from './../pages/zhiban/list'
import ZhibanTeamPeopleList from './../pages/zhiban/people_list'
import ZhibanTeamPeopleAdd from './../pages/zhiban/add_people'
//岗位管理
import StationList from './../pages/station/list'
import StationAdd from './../pages/station/add'
import StationEdit from './../pages/station/edit'
//访客记录
import VisitorList from './../pages/visitor/list'
import VisitorAdd from './../pages/visitor/add'
//访客车辆
import VisitorCarList from './../pages/visitor_car/list'
import VisitorCarAdd from './../pages/visitor_car/add'
import VisitorCarEdit from './../pages/visitor_car/edit'
import VisitorCarOut from './../pages/visitor_car/out'
//保修
import RepairAdd from './../pages/repair/add'
import RepairEdit1 from './../pages/repair/edit_1'
import RepairEdit2 from './../pages/repair/edit_2'
import RepairList from './../pages/repair/list'
//营房信息
import CampAdd from './../pages/camp/add'
import CampEdit from './../pages/camp/edit'
import CampList from './../pages/camp/list'
//驾驶员管理
import DriverAdd from './../pages/driver/add'
import DriverEdit from './../pages/driver/edit'
import DriverList from './../pages/driver/list'
import BindCarList from './../pages/bind_car/list'
import BindCarAdd from './../pages/bind_car/add'
//车辆管理
import CarAdd from './../pages/car_self/add'
import CarAdd2 from './../pages/car_self/add_2'
import CarList from './../pages/car_self/list'
import CarEdit from './../pages/car_self/edit'
//车辆类型
import CarTypeList from './../pages/car_type/list'
//车辆类型
import CarUseTypeList from './../pages/car_use_type/list'
//私人车辆管理
import CarPrivateAdd from './../pages/car_private/add'
import CarPrivateList from './../pages/car_private/list'
import CarPrivateEdit from './../pages/car_private/edit'
//公用车辆管理
import CarPublicAdd from './../pages/car_public/add'
import CarPublicList from './../pages/car_public/list'
import CarPublicEdit from './../pages/car_public/edit'
//固定派车
import CarFixedAdd from './../pages/car_fixed/add'
import CarFixedList from './../pages/car_fixed/list'
import CarFixedEdit from './../pages/car_fixed/edit'
//派送车辆
import DispatchCarApply from './../pages/dispatching_car/apply'
import DispatchCarApplyList from './../pages/dispatching_car/list'
import DispatchCarUseList from './../pages/dispatching_car/user_list'
import DispatchCarMyList from './../pages/dispatching_car/my_list'
import DispatchExamine from './../pages/dispatching_car/examime'
//车辆审核规则
import CarRuleList from './../pages/car_rule/list'
import CarRuleAdd from './../pages/car_rule/rule_add'
import CarRuleEdit from './../pages/car_rule/rule_edit'
//主界面导航菜单
import HomeMeauAdd from './../pages/home_meau/add'
import HomeMeauList from './../pages/home_meau/list'
//门区控制服务器
import GateServerAdd from './../pages/gate_server/add'
import GateServerList from './../pages/gate_server/list'
import GateCardAdd from './../pages/gate_server/card_add'
import GateCardList from './../pages/gate_server/card_list'
import GateOutList from './../pages/gate_out/list'
import GateSubList from './../pages/gate_server/sub_list'
import GateSubAdd from './../pages/gate_server/sub_add'
import GateSubEdit from './../pages/gate_server/sub_edit'
import GateCtrlAdd from './../pages/gate_server/ctrl_add'
import GateCtrlList from './../pages/gate_server/ctrl_list'
import GateCtrlEdit from './../pages/gate_server/ctrl_edit'
//快递公司
import ExpressList from './../pages/express/list'
import ExpressInfoList from './../pages/express_info/list'
import ExpressInfoAdd from './../pages/express_info/add'
//油料管理
import OilTypeList from './../pages/oil/type_list'
import OilDataList from './../pages/oil/data_list'
//战备金储备量信息
import ZbMoneyList from './../pages/zb_money/list'
//物资
import MaterialInOutTypeList from '../pages/material/inouttype_list'
import MaterialTypeList from '../pages/material/type_list'
import MaterialItemList from '../pages/material/item_list'
import MaterialItemAdd from '../pages/material/item_add'
//物资管理子项
import MaterialSubLifeList from '../pages/material_sub/life_list'
import MaterialSubCombatList from '../pages/material_sub/combat_list'
import MaterialSubOtherList from '../pages/material_sub/other_list'
import MaterialInOutAction from '../pages/material_sub/in_out'
import passLogList from '../pages/material/pass_list'

//管控管理
import CameraGroupList from '../pages/camera/group_list'
import CameraVideoList from '../pages/camera/video_list'
//规则相关
import RuleGroupList from '../pages/rule/group_list'
import RuleItemList from '../pages/rule/item_list'
import RuleItemAdd from '../pages/rule/item_add'
import RuleItemEdit from '../pages/rule/item_edit'
import RuleAddPeopleRule from '../pages/rule/add_rule'
import RulePeoPleList from '../pages/rule/people_list'
import GroupGroupList from '../pages/group/group_list'
import GroupGroupAdd from '../pages/group/group_add'
import GroupGroupEdit from '../pages/group/group_edit'
import StructuresList from '../pages/structures/list'
import StructuresAdd from '../pages/structures/add'
import StructuresSetPeople from '../pages/structures/set_people'
import StructuresEditPeople from '../pages/structures/edit_people'
//通行规则
import AccessList from '../pages/access/list'
import AccessAdd from '../pages/access/add'
//区域管理
import RegionList from './../pages/region/list'
import RegionList2 from './../pages/region/list2'
//系统管理
import OAurlList from './../pages/OA/list'
//人员类型管理
import peopleTypeList from './../pages/people_type/list'
import peopleSetRight from './../pages/people_type/set_right'
//大屏显示页面
import ZbAdmin from './../pages/home/zbAdmin'
import TrainAdmin from './../pages/home/trainAdmin'
import SafeAdmin from './../pages/home/safeAdmin'
import AfterAdmin from './../pages/home/afterAdmin'
import PoliticalAdmin from './../pages/home/politicalAdmin'

//战备管理
import ZbianQingAmin from './../pages/zbAdmin/ZbianQingAmin'
import ZbianZbTeamAdmin from './../pages/zbAdmin/ZbTeamAdmin'
import ZbianSixAdmin from './../pages/zbAdmin/SixAdmin'
import ZbianFiveAdmin from './../pages/zbAdmin/FiveAdmin'

//六量管理
import GrainAdd from './../pages/six/grain_add'
import GrainList from './../pages/six/grain_list'
import MedicinalAdd from './../pages/six/medicinal_add'
import MedicinalList from './../pages/six/medicinal_list'
import AmmunitionAdd from './../pages/six/ammunition_add'
import AmmunitionList from './../pages/six/ammunition_list'
import RepairSixAdd from './../pages/six/repair_add'
import RepairSixList from './../pages/six/repair_list'
//菜单管理
import menuList from './../pages/menu/list'
import menuAdd from './../pages/menu/add'
import menuEdit from './../pages/menu/edit'
import rightIndex from './../pages/menu/right_index'
//训练计划
import planLogList from './../pages/plan/log_list'
import planList from './../pages/plan/plan_list'
import planAdd from './../pages/plan/plan_add'


//空白页
import supplierAllBack from './../pages/supplierAllBack'

Vue.use(Router);


export default new Router({
    routes: [
        //大屏显示页面路由
        {
            path: '/',
            component: HomePage,
            name: '',
            hidden: true, meta: {isCheck: false}
        },
        {
            path: '/login',
            component: Login,
            name: '',
            hidden: true, meta: {isCheck: false}
        },
        {
            path: '/ZbAdmin',
            component: ZbAdmin,
            name: '',
            hidden: true, meta: {isCheck: false}
        },
        {
            path: '/TrainAdmin',
            component: TrainAdmin,
            name: '',
        },
        {
            path: '/SafeAdmin',
            component: SafeAdmin,
            name: '',
            hidden: true, meta: {isCheck: false}
        },
        {
            path: '/AfterAdmin',
            component: AfterAdmin,
            name: '',
            hidden: true, meta: {isCheck: false}
        },
        {
            path: '/PoliticalAdmin',
            component: PoliticalAdmin,
            name: '',
            hidden: true, meta: {isCheck: false}
        },

        {
            path: '/',
            component: Home,
            name: '通行区域管理',
            iconCls: 'eye', //图标样式class
            children: [
                {
                    path: '/GateServerAdd',
                    component: GateServerAdd,
                    name: '添加门区控制服务器',
                    hidden: true,
                    meta: {isCheck: false}
                },
                {path: '/RegionList', component: RegionList, name: '区域管理'},
                {path: '/GateServerList', component: GateServerList, name: '门区管理', hidden: true},
                //通行规则ent: RegionList, name: '区域管理'},
                //通行规则
                {path: '/AccessList', component: AccessList, name: '通行规则列表', hidden: true, meta: {isCheck: false}},
                {path: '/AccessAdd', component: AccessAdd, name: '添加通行规则', hidden: true, meta: {isCheck: false}},
                {path: '/RegionList2', component: RegionList2, name: '二级区域列表', hidden: true, meta: {isCheck: false}},
                {path: '/GateCardAdd', component: GateCardAdd, name: '添加读卡器信息', hidden: true, meta: {isCheck: false}},
                {path: '/GateCardList', component: GateCardList, name: '读卡器列表', hidden: true, meta: {isCheck: false}},
                {path: '/GateSubList', component: GateSubList, name: '子系统列表', hidden: true, meta: {isCheck: false}},
                {path: '/GateSubAdd', component: GateSubAdd, name: '添加子系统', hidden: true, meta: {isCheck: false}},
                {path: '/GateSubEdit', component: GateSubEdit, name: '编辑子系统', hidden: true, meta: {isCheck: false}},
                {path: '/GateCtrlList', component: GateCtrlList, name: '控制器列表', hidden: true, meta: {isCheck: false}},
                {path: '/GateCtrlAdd', component: GateCtrlAdd, name: '添加控制器', hidden: true, meta: {isCheck: false}},
                {path: '/GateCtrlEdit', component: GateCtrlEdit, name: '编辑控制器', hidden: true, meta: {isCheck: false}},
            ]
        },
        {
            path: '/Home',
            component: Home,
            name: '人员管理',
            iconCls: 'ios-person', //图标样式class
            children: [
                //人员类型管理
                {path: '/peopleTypeList', component: peopleTypeList, name: '类型&权限'},
                {
                    path: '/peopleSetRight',
                    component: peopleSetRight,
                    name: '设置角色权限',
                    hidden: true,
                    meta: {isCheck: false}
                },
                //人员
                {path: '/UserList', component: UserList, name: '列表'},
                {path: '/UserAdd2', component: UserAdd2, name: '添加第二类信息', hidden: true, meta: {isCheck: false}},
                {path: '/UserAdd3', component: UserAdd3, name: '分配管理系统登录账号', hidden: true, meta: {isCheck: false}}, //添加人员第三步
                {path: '/UserEdit', component: UserEdit, name: '编辑人员信息', hidden: true, meta: {isCheck: false}},
                {path: '/UserAdd', component: UserAdd, name: '人员添加', hidden: true,meta: {isCheck: false}}, //第一步
                {path: '/UserSetUp', component: UserSetUp, name: '人员拓展信息', hidden: true, meta: {isCheck: false}},  //添加人员第二步
                {
                    path: '/UserClientDetail',
                    component: UserClientDetail,
                    name: '人员详情',
                    hidden: true,
                    meta: {isCheck: false}
                },

                // //证件
                // {path: '/CertificateList', component: CertificateList, name: '证件管理'},
                {path: '/CertificateAdd', component: CertificateAdd, name: '添加', hidden: true, meta: {isCheck: false}},
                // {path: '/CertificateEdit', component: CertificateEdit, name: '编辑', hidden:true,meta:{isCheck:false}},
                // //组织结构
                //
                {path: '/OrganizeDetail', component: OrganizeDetail, name: '详情', hidden: true, meta: {isCheck: false}},
                {path: '/OrganizeAdd', component: OrganizeAdd, name: '添加', hidden: true, meta: {isCheck: false}},
                {path: '/OrganizeEdit', component: OrganizeEdit, name: '编辑', hidden: true, meta: {isCheck: false}},
                {path: '/configTspc', component: configTspc, name: '满编率统计', hidden: true, meta: {isCheck: false}},
                {path: '/CheckerList', component: CheckerList, name: '审核人列表', hidden: true, meta: {isCheck: false}},
                {path: '/CheckerAdd', component: CheckerAdd, name: '设置审核人', hidden: true, meta: {isCheck: false}},

                // //人员组织
                {path: '/UserOrgAdd', component: UserOrgAdd, name: '添加人员组织结构', hidden: true, meta: {isCheck: false}},
                {path: '/UserOrgList', component: UserOrgList, name: '人员所在组织', hidden: true, meta: {isCheck: false}},
                // //分配一卡通
                // {path: '/UserOneList', component: UserOneList, name: '一卡通'},
                //
            ]
        },
        {
            path: '/Home',
            component: Home,
            name: '组织架构管理',
            iconCls: 'ios-person', //图标样式class
            children: [
                //组织管理
                {path: '/OrganizeList', component: OrganizeList, name: '总览'},
                // {path: '/CarOrgList', component: CarOrgList, name: '车量管理机构'},
                //值班编队
                {path: '/ZhibanAdd', component: ZhibanAdd, name: '添加值班编队', hidden: true, meta: {isCheck: false}},
                {
                    path: '/ZhibanTeamEdit',
                    component: ZhibanTeamEdit,
                    name: '编辑值班编队',
                    hidden: true,
                    meta: {isCheck: false}
                },
                {
                    path: '/ZhibanTeamPeopleList',
                    component: ZhibanTeamPeopleList,
                    name: '值班队人员',
                    hidden: true,
                    meta: {isCheck: false}
                },
                {
                    path: '/ZhibanTeamPeopleAdd',
                    component: ZhibanTeamPeopleAdd,
                    name: '添加编队成员',
                    hidden: true,
                    meta: {isCheck: false}
                },
                {
                    path: '/ZhibanTeamList',
                    component: ZhibanTeamList,
                    name: '值班编队管理',
                    // hidden: true,
                    // meta: {isCheck: false}
                },
                {
                    path: '/ZhibanTeamAdd',
                    component: ZhibanTeamAdd,
                    name: '添加值班编队',
                    hidden: true,
                    meta: {isCheck: false}
                },
            ],
        },
        {
            path: '/Home',
            component: Home,
            name: '请假管理',
            iconCls: 'ios-person', //图标样式class
            children: [
                //请假
                {path: '/HolidayList', component: HolidayList, name: '我的请假申请'},
                {path: '/HolidayApply', component: HolidayApply, name: '请假申请'},
                {
                    path: '/HolidayContinueApply',
                    component: HolidayContinueApply,
                    name: '续假申请',
                    hidden: true,
                    meta: {isCheck: false}
                },
                {path: '/HolidayMyList', component: HolidayMyList, name: '请假申请审批'},
                {path: '/HolidayCancleList', component: HolidayCancleList, name: '销假管理'},
            ],
        },
        //管理页面
        {
            path: '/Home',
            component: Home,
            name: '系统管理',
            iconCls: 'gear-a', //图标样式class
            children: [
                //菜单
                // {path: '/menuList', component: menuList, name: '菜单管理'},
                // {path: '/menuEdit', component: menuEdit, name: '菜单编辑', hidden:true,meta:{isCheck:false}},
                // {path: '/menuAdd', component: menuAdd, name: '菜单添加', hidden:true,meta:{isCheck:false}},
                {path: '/OAurlList', component: OAurlList, name: '配置OA系统URL'},
                {
                    path: '/HolidayTypeAdd',
                    component: HolidayTypeAdd,
                    name: '添加请假类型',
                    hidden: true,
                    meta: {isCheck: false}
                },
                {path: '/HolidayTypeList', component: HolidayTypeList, name: '请假类型'},
                {path: '/UserExpandField', component: UserExpandField, name: '配置用户拓展字段', hidden: true},
                {
                    path: '/UserExpandFieldAdd',
                    component: UserExpandFieldAdd,
                    name: '用户拓展字段添加',
                    hidden: true,
                    meta: {isCheck: false}
                },
                {path: '/GateOutList', component: GateOutList, name: '配置门区通行', hidden: true, meta: {isCheck: false}},
                //岗位
                {path: '/StationList', component: StationList, name: '岗位管理', hidden: true, meta: {isCheck: false}},
                {path: '/StationAdd', component: StationAdd, name: '添加岗位', hidden: true, meta: {isCheck: false}},
                {path: '/StationEdit', component: StationEdit, name: '编辑', hidden: true, meta: {isCheck: false}},
                //一卡通管理
                // {path: '/UserOneList', component: UserOneList, name: '一卡通管理'},
                //快递
                // {path: '/ExpressList', component: ExpressList, name: '快递公司'},
                {
                    path: '/ExpressInfoAdd',
                    component: ExpressInfoAdd,
                    name: '添加快递信息',
                    hidden: true,
                    meta: {isCheck: false}
                },
                // {path: '/ExpressInfoList', component: ExpressInfoList, name: '快递信息'},
                //主界面
                {path: '/HomeMeauList', component: HomeMeauList, name: '菜单列表', hidden: true, meta: {isCheck: false}},
                {path: '/HomeMeauAdd', component: HomeMeauAdd, name: '添加', hidden: true, meta: {isCheck: false}},
                //系统接口、菜单配置
                {path: '/rightIndex', component: rightIndex, name: '系统操作权限表'},
                // //证件/Security/User/SearchUser
                {
                    path: '/CertificateList',
                    component: CertificateList,
                    name: '配置证件类型',
                    hidden: true,
                    meta: {isCheck: false}
                },
                {path: '/CertificateAdd', component: CertificateAdd, name: '添加', hidden: true, meta: {isCheck: false}},
                {
                    path: '/CertificateEdit',
                    component: CertificateEdit,
                    name: '编辑',
                    hidden: true,
                    meta: {isCheck: false}
                },
                //军衔、职务管理
                {path: '/PositionList', component: PositionList, name: '职务管理'},
                {path: '/RankList', component: RankList, name: '军衔管理'},
                //请假规则
                {path: '/HolidayRule', component: HolidayRule, name: '审核规则'},
                {
                    path: '/HolidayRuleAdd',
                    component: HolidayRuleAdd,
                    name: '添加审核规则',
                    hidden: true,
                    meta: {isCheck: false}
                },
                {
                    path: '/HolidayRuleEdit',
                    component: HolidayRuleEdit,
                    name: '编辑审核规则',
                    hidden: true,
                    meta: {isCheck: false}
                },
                {path: '/supplierAllBack', component: supplierAllBack, name: '', hidden: true, meta: {isCheck: false}},

            ]
        },
        {
            path: '/',
            component: Home,
            name: '车辆管理',
            iconCls: 'model-s', //图标样式class
            children: [
                //用车申请
                {path: '/DispatchCarApply', component: DispatchCarApply, name: '申请用车'},
                {path: '/DispatchCarMyList', component: DispatchCarMyList, name: '我的申请用车'},

                //
                // {path: '/DispatchCarUseList', component: DispatchCarUseList, name: '派车管理'},
                {path: '/DispatchCarApplyList', component: DispatchCarApplyList, name: '用车申请审批'},

                //车队管理人员的申请处理清单

                {path: '/DispatchExamine', component: DispatchExamine, name: '派车管理'},

                // {path: '/DispatchCarApplyList', component: DispatchCarApplyList, name: '申请列表', hidden:true,meta:{isCheck:false}},
                //车辆审核规则
                {path: 'CarRuleList', component: CarRuleList, name: '审核规则管理', hidden: true},
                {path: 'CarRuleAdd', component: CarRuleAdd, name: '添加车辆审核规则', hidden: true, meta: {isCheck: false}},
                {path: 'CarRuleEdit', component: CarRuleEdit, name: '修改车辆审核规则', hidden: true, meta: {isCheck: false}},
                //车辆类型管理
                {path: '/CarTypeList', component: CarTypeList, name: '车辆类型管理'},
                //车辆类型管理
                {path: '/CarUseTypeList', component: CarUseTypeList, name: '用车类型管理'},
                //私人车辆管理
                {path: '/CarPrivateList', component: CarPrivateList, name: '自用车辆管理', hidden: true},
                {path: '/CarPrivateAdd', component: CarPrivateAdd, name: '添加', hidden: true, meta: {isCheck: false}},
                {path: '/CarPrivateEdit', component: CarPrivateEdit, name: '编辑', hidden: true, meta: {isCheck: false}},
                //公用车辆管理
                {path: '/CarPublicList', component: CarPublicList, name: '车辆管理'},
                {path: '/CarPublicAdd', component: CarPublicAdd, name: '添加', hidden: true, meta: {isCheck: false}},
                {path: '/CarPublicEdit', component: CarPublicEdit, name: '编辑', hidden:true,meta:{isCheck:false}},
                //固定派车管理
                // {path: '/CarFixedList', component: CarFixedList, name: '固定派车管理'},
                {path: '/CarFixedAdd', component: CarFixedAdd, name: '添加', hidden: true, meta: {isCheck: false}},
                {path: '/CarFixedEdit', component: CarFixedEdit, name: '编辑', hidden: true, meta: {isCheck: false}},
                // //驾驶员
                // {path: '/DriverList', component: DriverList, name: '驾驶员管理'},
                {path: '/DriverAdd', component: DriverAdd, name: '驾驶员添加', hidden: true, meta: {isCheck: false}},
                {path: '/DriverEdit', component: DriverEdit, name: '编辑', hidden: true, meta: {isCheck: false}},
                {path: '/BindCarAdd', component: BindCarAdd, name: '绑定车辆', hidden: true, meta: {isCheck: false}},
                {path: '/BindCarList', component: BindCarList, name: '绑定车辆列表', hidden: true, meta: {isCheck: false}},
                {path: '/CarAdd', component: CarAdd, name: '添加车辆', hidden: true, meta: {isCheck: false}},
                {path: '/CarAdd2', component: CarAdd2, name: '添加钥匙信息', hidden: true, meta: {isCheck: false}},
                {path: '/CarList', component: CarList, name: '车辆列表', hidden: true, meta: {isCheck: false}},
                {path: '/CarEdit', component: CarEdit, name: '编辑', hidden: true, meta: {isCheck: false}},

            ]
        },

        // {
        //     path: '/Home',
        //     component: Home,
        //     name: '一卡通管理',
        //     iconCls: 'ios-person', //图标样式class
        //     children: [
        //         {path: '/UserOneList', component: UserOneList, name: '查看一卡通',hidden:true},
        //         {path: '/UserOneAdd', component: UserOneAdd, name: '自动生成编号',hidden:true},
        //     ],
        // },
        // {
        //     path: '/Home',
        //     component: Home,
        //     name: '续假管理',
        //     iconCls: 'ios-person', //图标样式class
        //     children: [
        //         //续假管理
        //         {path: '/HolidayContinueCancleList', component: HolidayContinueCancleList, name: '销假管理'},
        //         {path: '/HolidayContinueApply', component: HolidayContinueApply, name: '续假申请审批'},
        //         {path: '/HolidayContinueList', component: HolidayContinueList, name: '我的续假申请'},
        //     ],
        // },


        //监控管理
        {
            path: '/',
            component: Home,
            name: '管理监控',
            iconCls: 'help-buoy', //图标样式class
            children: [
                {path: '/CameraGroupList', component: CameraGroupList, name: '监控分组'},
                {path: '/CameraVideoList', component: CameraVideoList, name: '摄像头管理'},
                // {path: '/ZbianZbTeamAdmin', component: ZhibanTeamList, name: '战备值班'},
                // {path: '/ZbianQingAmin', component: NewsList, name: '周边军社区'}, //type=2
            ]
        },
        // {
        //     path: '/',
        //     component: Home,
        //     name: '六量管理',
        //     iconCls: 'ios-barcode', //图标样式class
        //     children: [
        //         {path: '/GrainList', component: GrainList, name: '粮秣给养'},
        //         {path: '/GrainAdd', component: GrainAdd, name: '添加', hidden:true,meta:{isCheck:false}},
        //         {path: '/RepairSixList', component: RepairSixList, name: '维修设备'},
        //         {path: '/RepairSixAdd', component: RepairSixAdd, name: '添加', hidden:true,meta:{isCheck:false}},
        //         {path: '/MedicinalList', component: MedicinalList, name: '战救药材储备'},
        //         {path: '/MedicinalAdd', component: MedicinalAdd, name: '添加', hidden:true,meta:{isCheck:false}},
        //         {path: '/AmmunitionAdd', component: AmmunitionAdd, name: '添加', hidden:true,meta:{isCheck:false}},
        //         {path: '/AmmunitionList', component: AmmunitionList, name: '弹药储备'},
        //         {path: '/ZbMoneyList', component: ZbMoneyList, name: '战备金储备'},
        //         {path: '/OilTypeList', component: OilTypeList, name: '油料类型'},
        //         {path: '/OilDataList', component: OilDataList, name: '油料储存'},
        //     ]
        // },
        {
            path: '/',
            component: Home,
            name: '物资管理',
            iconCls: 'cash', //图标样式class
            children: [
                //物资
                {
                    path: '/MaterialInOutTypeList',
                    component: MaterialInOutTypeList,
                    name: '物资进出库分类',
                    hidden: true,
                    meta: {isCheck: false}
                },
                {path: '/MaterialTypeList', component: MaterialTypeList, name: '物资分类'},
                {
                    path: '/MaterialItemList',
                    component: MaterialItemList,
                    name: '物资项',
                    hidden: true,
                    meta: {isCheck: false}
                },
                {
                    path: '/MaterialItemAdd',
                    component: MaterialItemAdd,
                    name: '物资项添加',
                    hidden: true,
                    meta: {isCheck: false}
                },
                //生活物资
                {path: '/MaterialSubLifeList', component: MaterialSubLifeList, name: '生活物资'},
                //战备
                {path: '/MaterialSubCombatList', component: MaterialSubCombatList, name: '战备物资'},
                //其它储备物资
                {path: '/MaterialSubOtherList', component: MaterialSubOtherList, name: '其它储备物资'},
                //出入库管理
                {path: '/MaterialInOutAction', component: MaterialInOutAction, name: '出入库管理'},
                //营房
                {path: '/CampList', component: CampList, name: '营房列表', hidden: true, meta: {isCheck: false}},
                {path: '/CampAdd', component: CampAdd, name: '添加营房', hidden: true, meta: {isCheck: false}},
                {path: '/CampEdit', component: CampEdit, name: '编辑', hidden: true, meta: {isCheck: false}},
                //油料
                {path: '/OilTypeList', component: OilTypeList, name: '油料类型列表', hidden: true, meta: {isCheck: false}},
                {path: '/OilDataList', component: OilDataList, name: '油料储存列表', hidden: true, meta: {isCheck: false}},
                //保修
                {path: '/RepairList', component: RepairList, name: '报修记录', hidden: true, meta: {isCheck: false}},
                {path: '/RepairAdd', component: RepairAdd, name: '报修', hidden: true, meta: {isCheck: false}},
                {path: '/RepairEdit1', component: RepairEdit1, name: '编辑', hidden: true, meta: {isCheck: false}},
                {path: '/RepairEdit2', component: RepairEdit2, name: '编辑', hidden: true, meta: {isCheck: false}},
            ]
        },
        // {
        //     path: '/',
        //     component: Home,
        //     name: '审核管理',
        //     iconCls: 'ios-stopwatch-outline', //图标样式class
        //     children: [
        //         {path: '/HolidayCheckerList', component: HolidayCheckerList, name: '请假审核',hidden:true},
        //         // {path: '/DispatchCarUseList', component: DispatchCarUseList, name: '用车审核列表'},
        //     ]
        // },
        // {
        //     path: '/',
        //     component: Home,
        //     name: '区域管理',
        //     iconCls: 'ios-stopwatch-outline', //图标样式class
        //     children: [
        //         {path: '/RegionList2', component: RegionList2, name: '二级区域列表',hidden:true},
        //         // {path: '/DispatchCarUseList', component: DispatchCarUseList, name: '用车审核列表'},
        //     ]
        // },


        {
            path: '',
            component: Home,
            name: '通知公告',
            iconCls: 'ios-calendar', //图标样式class
            children: [
                {path: '/NewsEdit', component: NewsEdit, name: '编辑', hidden: true, meta: {isCheck: false}},
                {path: '/NewsAdd', component: NewsAdd, name: '添加', hidden: true, meta: {isCheck: false}},
                {path: '/NewsDetail', component: NewsDetail, name: '详情', hidden: true, meta: {isCheck: false}},
                // {path: '/NewsList', component: NewsList, name: '民社情'},
                {path: '/NoticeList', component: NoticeList, name: '通知公告综合列表'},
                {path: '/NoticeAdd', component: NoticeAdd, name: '添加', hidden: true, meta: {isCheck: false}},
                {path: '/NoticeEdit', component: NoticeEdit, name: '编辑', hidden: true, meta: {isCheck: false}},
                {path: '/NoticeDetail', component: NoticeDetail, name: '详情', hidden: true, meta: {isCheck: false}},
                {path: '/FinanceAdd', component: FinanceAdd, name: '添加', hidden: true, meta: {isCheck: false}},
                {path: '/FinanceEdit', component: FinanceEdit, name: '编辑', hidden: true, meta: {isCheck: false}},
                {path: '/FinanceDetail', component: FinanceDetail, name: '详情', hidden: true, meta: {isCheck: false}},
            ]
        },
        {
            path: '/',
            component: Home,
            name: '统计',
            iconCls: 'soup-can-outline', //图标样式class
            children: [
                // {path: '/ZbMoneyList', component: ZbMoneyList, name: '战备金储备管理信息'},
                {path: '/passLogList', component: passLogList, name: '进出记录'},
            ]
        },
        {
            path: '/',
            component: Home,
            name: '训练计划',
            iconCls: 'soup-can-outline', //图标样式class
            children: [
                // {path: '/ZbMoneyList', component: ZbMoneyList, name: '战备金储备管理信息'},
                {path: '/planList', component: planList, name: '训练计划'},
                {path: '/planLogList', component: planLogList, name: '训练记录',hidden:true,meta:{isCheck:false}},
                {path: '/planAdd', component: planAdd, name: '添加训练计划',hidden:true,meta:{isCheck:false}},
            ]
        },
        // {
        //     path: '/',
        //     component: Home,
        //     name: '访客管理',
        //     iconCls: 'ios-people', //图标样式class
        //     children: [
        //         {path: '/VisitorList', component: VisitorList, name: '人员访客'},
        //         {path: '/VisitorAdd', component: VisitorAdd, name: '访客登记', hidden:true,meta:{isCheck:false}},
        //         {path: '/VisitorCarList', component: VisitorCarList, name: '车辆访客'},
        //         {path: '/VisitorCarAdd', component: VisitorCarAdd, name: '车辆添加', hidden:true,meta:{isCheck:false}},
        //         {path: '/VisitorCarEdit', component: VisitorCarEdit, name: '车辆编辑', hidden:true,meta:{isCheck:false}},
        //         {path: '/VisitorCarOut', component: VisitorCarOut, name: '车辆签退', hidden:true,meta:{isCheck:false}},
        //     ]
        // },
        // {
        //     path: '/',
        //     component: Home,
        //     name: '规则管理',
        //     iconCls: 'code-working', //图标样式class
        //     children: [
        //         {path: '/RuleGroupList', component: RuleGroupList, name: '访问规则组', hidden:true,meta:{isCheck:false}},
        //         {path: '/RuleItemAdd', component: RuleItemAdd, name: '添加访问规则项', hidden:true,meta:{isCheck:false}},
        //         {path: '/RuleItemEdit', component: RuleItemEdit, name: '编辑访问规则项', hidden:true,meta:{isCheck:false}},
        //         {path: '/RuleItemList', component: RuleItemList, name: '访问规则项', hidden:true,meta:{isCheck:false}},
        //         {path: '/RuleAddPeopleRule', component: RuleAddPeopleRule, name: '添加人员权限', hidden:true,meta:{isCheck:false}},
        //         {path: '/RulePeoPleList', component: RulePeoPleList, name: '人员权限', hidden:true,meta:{isCheck:false}},
        //         {path: '/GroupGroupList', component: GroupGroupList, name: '分组层级列表'},
        //         {path: '/GroupGroupAdd', component: GroupGroupAdd, name: '添加分组', hidden:true,meta:{isCheck:false}},
        //         {path: '/GroupGroupEdit', component: GroupGroupEdit, name: '修改分组信息', hidden:true,meta:{isCheck:false}},
        //         {path: '/StructuresList', component: StructuresList, name: '功能结构', hidden:true,meta:{isCheck:false}},
        //         {path: '/StructuresAdd', component: StructuresAdd, name: '添加功能结构', hidden:true,meta:{isCheck:false}},
        //         {path: '/StructuresSetPeople', component: StructuresSetPeople, name: '指定用户操作权限', hidden:true,meta:{isCheck:false}},
        //         {path: '/StructuresEditPeople', component: StructuresEditPeople, name: '修改用户操作权限', hidden:true,meta:{isCheck:false}},
        //
        //     ]
        // },
        // 隔段
        // {
        //     path: '/',
        //     component: Home,
        //     name: '请假管理',
        //     iconCls: 'coffee', //图标样式class
        //     children: [
        //         {path: '/HolidayList', component: HolidayList, name: '申请列表'},
        //         {path: '/HolidayMyList', component: HolidayMyList, name: '请假列表'},
        //     ]
        // },
        // {
        //     path: '/',
        //     component: Home,
        //     name: '值班管理',
        //     iconCls: 'ios-compose', //图标样式class
        //     children: [
        //         {path: '/ZhibanAdd', component: ZhibanAdd, name: '添加值班编队'},
        //         {path: '/ZhibanTeamEdit', component: ZhibanTeamEdit, name: '编辑值班编队', hidden:true,meta:{isCheck:false}},
        //         {path: '/ZhibanTeamPeopleList', component: ZhibanTeamPeopleList, name: '值班队人员', hidden:true,meta:{isCheck:false}},
        //         {path: '/ZhibanTeamPeopleAdd', component: ZhibanTeamPeopleAdd, name: '添加编队成员', hidden:true,meta:{isCheck:false}},
        //         {path: '/ZhibanTeamList', component: ZhibanTeamList, name: '值班列表'},
        //         {path: '/ZhibanTeamAdd', component: ZhibanTeamAdd, name: '添加值班编队', hidden:true,meta:{isCheck:false}},
        //     ]
        // },
        // {
        //     path: '/',
        //     component: Home,
        //     name: '岗位管理',
        //     iconCls: 'ios-americanfootball', //图标样式class
        //     children: [
        //         {path: '/StationList', component: StationList, name: '岗位管理'},
        //         {path: '/StationAdd', component: StationAdd, name: '添加岗位'},
        //         {path: '/StationEdit', component: StationEdit, name: '编辑', hidden:true,meta:{isCheck:false}},
        //     ]
        // },

        // {
        //     path: '/',
        //     component: Home,
        //     name: '报修管理',
        //     iconCls: 'wrench', //图标样式class
        //     children: [
        //         {path: '/RepairList', component: RepairList, name: '报修记录'},
        //         {path: '/RepairAdd', component: RepairAdd, name: '报修', hidden:true,meta:{isCheck:false}},
        //         {path: '/RepairEdit1', component: RepairEdit1, name: '编辑', hidden:true,meta:{isCheck:false}},
        //         {path: '/RepairEdit2', component: RepairEdit2, name: '编辑', hidden:true,meta:{isCheck:false}},
        //     ]
        // },
        // {
        //     path: '/',
        //     component: Home,
        //     name: '快递相关',
        //     iconCls: 'navigate', //图标样式class
        //     children: [
        //         {path: '/ExpressList', component: ExpressList, name: '快递公司'},
        //         {path: '/ExpressInfoAdd', component: ExpressInfoAdd, name: '添加快递信息',hidden:true},
        //         {path: '/ExpressInfoList', component: ExpressInfoList, name: '快递信息'},
        //     ]
        // },
        // {
        //     path: '/',
        //     component: Home,
        //     name: '营房管理',
        //     iconCls: 'home', //图标样式class
        //     children: [
        //         // {path: '/CampList', component: CampList, name: '营房列表'},
        //         // {path: '/CampAdd', component: CampAdd, name: '添加营房'},
        //         // {path: '/CampEdit', component: CampEdit, name: '编辑', hidden:true,meta:{isCheck:false}},
        //     ]
        // },
        // {
        //     path: '/',
        //     component: Home,
        //     name: '油料管理',
        //     iconCls: 'paintbucket', //图标样式class
        //     children: [
        //         {path: '/OilTypeList', component: OilTypeList, name: '油料类型列表'},
        //         {path: '/OilDataList', component: OilDataList, name: '油料储存列表'},
        //     ]
        // },
        // {
        //     path: '/',
        //     component: Home,
        //     name: '通行规则',
        //     iconCls: 'arrow-return-right', //图标样式class
        //     children: [
        //         {path: '/AccessList', component: AccessList, name: '通行规则列表'},
        //         {path: '/AccessAdd', component: AccessAdd, name: '添加通行规则', hidden:true,meta:{isCheck:false}},
        //     ]
        // },
        // {
        //     path: '/',
        //     component: Home,
        //     name: '主界面菜单',
        //     iconCls: 'navicon-round', //图标样式class
        //     children: [
        //
        //     ]
        // },
        // {
        //     path: '/',
        //     component: Home,
        //     name: '安全管理',
        //     iconCls: 'ios-locked', //图标样式class
        //     children: [
        //         //人员管理
        //         {path: '/UserList2', component: UserList, name: '人员管理'},
        //         {path: '/CarList23', component: CarList, name: '指纹查哨',hidden:true,meta:{isCheck:false}},
        //     ]
        // },
        {
            path: '*',
            hidden: true, meta: {isCheck: false},
            redirect: {path: '/404'}
        }
    ]
})
